package com.jdk.learn.jvm;

public class _009MehtodInvoke2 {
    public void sayHello(short c) {
        System.out.println("short");
    }
    /*public void sayHello(int c) {
        System.out.println("int");
    }*/
    /*public void sayHello(long c) {
        System.out.println("long");
    }*/
    /*public void sayHello(char c) {
        System.out.println("char");
    }*/
   /* public void sayHello(Object c) {
        System.out.println("o");
    }*/
    public void sayHello(char ... c) {
        System.out.println("char ...");
    }
    /*
    public void sayHello(Character c) {
        System.out.println("Character");
    }*/

    public static void main(String[] args) {
        _009MehtodInvoke2 mehtodInvoke2=new _009MehtodInvoke2();
        mehtodInvoke2.sayHello('A');
        //先char 然后int -- long -- Character-- object -- char...
    }
}